<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/jsp/inc/header.inc"%>
<body onload="initFadeElements();">
	<!-- 
	<%@ include file="/WEB-INF/jsp/common/user-info.inc"%>
	<h1>
		<s:text name="logo" />
	</h1>
	 -->
	<div class="bgImgDiv">
			<img alt="" src="/img/bg.jpg" style="width:100%;height:800px;"/>
	</div>
 	<div class="mainDiv">
 		<div class="center">
	  		<div class="containhead">
	  			<%@ include file="/WEB-INF/jsp/inc/head.inc" %>
	  		</div>
	  		<div class="containbody r5px">
	  			<%@ include file="/WEB-INF/jsp/inc/menu.inc" %>
	  			<div class="innercontainer r5px">
	  				<ul id="preyUsers">
						<s:iterator value="preys" id="prey" status="status">
							<s:if test="#status.index <16">
								<li class="preyUser r5px">
									<div>
										<label class="preyname"><s:property value="actor.name"/></label>
									</div>
									<div style="padding:5px;">	
										<img src="<s:property value="actor.profileImageUrl"/>" border="0"/>
										<div style="width:80px;float:right;">
										    <label class="preytitle">[<s:property value="%{getText(wealthLevel)}"/>]</label>
											[<a href="/gathering.action?preyId=<s:property value="actor.id"/>">开偷!</a>]
										</div>
									</div>	
								</li>
							</s:if>
						</s:iterator>
					</ul>
	  			</div>
	  			
	  		</div>
	  		<div class="containfooter">
	  			<%@ include file="/WEB-INF/jsp/inc/foot.inc" %>
	  		</div>
 		</div>
 	</div>
 	<script type="text/javascript">
 		function initFadeElements(){
 			var childNodes = document.getElementById("preyUsers").childNodes;
 			for( var int = 0; int < childNodes.length; int++){
 				if(childNodes[int].tagName && childNodes[int].tagName.toLowerCase() == "li"){
 					opacitycControler.push(childNodes[int]);
 				}
 			}
 		}
 	</script>

</body>
</html>
